package com.web_bloks.storage.client;

/**
 * 
 * @author Jean-Lou Dupont
 *
 */
public interface SimpleObjectStorage {

	public boolean exists();
	
	public boolean isPersistent() throws SimpleObjectStorageException;
	
	public boolean initialize() throws SimpleObjectStorageException;
	
	public void put(SimpleObject obj) throws SimpleObjectStorageException;
	
	public void delete(String nsname, String name) throws SimpleObjectStorageException;
	
	public SimpleObjectPrototype get(String nsname, String name) throws SimpleObjectStorageException;
	
	public void clear() throws SimpleObjectStorageException;
	
}
